#ifndef Layout_First
#define Layout_First
#ifdef __GNUG__
#pragma interface
#endif

#include "Rectangle.h"
#include "Metric.h"
#include "Token.h"

class VObject;

//---- Layout ------------------------------------------------------------------

class Layout {
public:
	Layout();
	virtual void SetOrigin(VObject*, const Point&);
	virtual void SetExtent(VObject*, const Point&);
	virtual Metric GetMinSize(VObject *acv);
	virtual void Adorn(VObject *acv, const Rectangle &r, int code= 0);
	virtual long GetValue(VObject *acv, int code);
};

#endif
